package com.bkgy.modular.tbdsjc621digitalevaluation.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.bkgy.converter.AddOrDel2Converter;
import com.bkgy.converter.AddOrDel3Converter;
import com.bkgy.converter.AddOrDelConverter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 1720产线数字化评价结果表实体类
 *
 * @author 生成器生成
 * @date 2022-08-31 16:56:08
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
// @TableName("tb_dsj_c621_digital_evaluation")
public class TbDsjC621DigitalEvaluation {

    @ExcelProperty("冷轧生产完成时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String cold_product_time;  //冷轧生产完成时间
    @ExcelProperty("冷轧出口卷号")
    @ColumnWidth(20)
    private String coil_id;  //冷轧出口卷号
    @ExcelProperty("冷轧入口卷号")
    @ColumnWidth(20)
    private String hot_coil_id;  //冷轧入口卷号
    @ExcelProperty("常化卷号")
    @ColumnWidth(20)
    private String entid;
    @ExcelProperty("钢种")
    @ColumnWidth(20)
    private String steelgrade;  //钢种
    @ExcelProperty("硅含量")
    @ColumnWidth(20)
    private Double ele_si;  //硅含量
    @ExcelProperty("出口宽度")
    @ColumnWidth(20)
    private Double ex_wid;  //出口宽度

    @ExcelProperty("出口厚度")
    @ColumnWidth(20)
    private Double ex_thk;  //出口厚度

    @ExcelProperty("入口宽度")
    @ColumnWidth(20)
    private Double en_wid;  //入口宽度

    @ExcelProperty("入口厚度")
    @ColumnWidth(20)
    private Double en_thk;  //入口厚度

    @ExcelProperty("合同号")
    @ColumnWidth(20)
    private String order_no;  //合同号

    @ExcelProperty("客户名称")
    @ColumnWidth(20)
    private String custom_name;  //客户名称

    @ExcelProperty("客户要求")
    @ColumnWidth(20)
    private String custom_req;  //客户要求

    @ExcelProperty("厚度评分")
    @ColumnWidth(20)
    private Double thk_score;  //厚度评分

    @ExcelProperty("厚度等级")
    @ColumnWidth(20)
    private String thk_class;  //厚度等级

    @ExcelProperty(value = "厚度判定是否合格",converter = AddOrDelConverter.class)
    @ColumnWidth(20)
    private String thk_judge;  //厚度判定是否合格

    @ExcelProperty("边降评分")
    @ColumnWidth(20)
    private Double edge_score;  //边降评分

    @ExcelProperty("边降等级")
    @ColumnWidth(20)
    private String edge_class;  //边降等级

    @ExcelProperty(value = "边降判定是否合格",converter = AddOrDelConverter.class)
    @ColumnWidth(20)
    private String edge_judge;  //边降判定是否合格

    @ExcelProperty("同板差评分")
    @ColumnWidth(20)
    private Double sameplate_score;  //同板差评分

    @ExcelProperty("同板差等级")
    @ColumnWidth(20)
    private String sameplate_class;  //同板差等级

    @ExcelProperty(value = "同板差判定是否合格",converter = AddOrDelConverter.class)
    @ColumnWidth(20)
    private String sameplate_judge;  //同板差判定是否合格

    @ExcelProperty("综合评分")
    @ColumnWidth(20)
    private Double final_score;  //综合评分

    @ExcelProperty("综合评级")
    @ColumnWidth(20)
    private String final_class;  //综合评级

    @ExcelProperty("综合判定结果")
    @ColumnWidth(20)
    private String final_judge_result;  //综合判定结果

    @ExcelProperty("综合判定内容")
    @ColumnWidth(20)
    private String final_judge_content;  //综合判定内容

    @ExcelProperty("判定时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String final_judge_time;  //判定时间


    // tb_C621_thk_flat_result

    @ExcelProperty("冷卷号")
    @ColumnWidth(20)
    private String cold_coil_id;

    @ExcelProperty(value = "厚度是否合格，0表示合格，1表示不合格",converter = AddOrDel3Converter.class)
    @ColumnWidth(20)
    private Double thk_acceptance;

    @ExcelProperty(value = "板形是否合格，0表示合格，1表示不合格",converter = AddOrDel3Converter.class)
    @ColumnWidth(20)
    private Double flat_acceptance;

    @ExcelProperty("板形评分")
    @ColumnWidth(20)
    private Double plate_score;

    @ExcelProperty("板形等级")
    @ColumnWidth(20)
    private String flat_class;

    @ExcelProperty(value = "是否硅钢",converter = AddOrDel2Converter.class)
    @ColumnWidth(20)
    private Integer si_flag;

    @ExcelProperty("成材率")
    @ColumnWidth(20)
    private Double yield;

    private Double thk_head_tole_abs_len;
    private Double thk_mid_tole_abs_len;
    private Double thk_tail_tole_abs_len;
    private Double asc_wave_length_ds;
    private Double asc_wave_length_os;
    private Double flatave_alarm_length_head;
    private Double flatave_alarm_length_middle;
    private Double flatave_alarm_length_tail;
    private Double asc_length;
    private Double length;
    private Double edge_total_head_tole_abs_len;
    private Double edge_total_mid_tole_abs_len;
    private Double edge_total_tail_tole_abs_len;

}